﻿using Learun.Util;
using System.Collections.Generic;

namespace Learun.Application.TwoDevelopment.ZZDT_EC
{
    public interface ec_PanelIBLL
    {
        #region 获取数据
        /// <summary>
        /// 获取列表数据
        /// <summary>
        /// <returns></returns>
        IEnumerable<ec_PanelEntity> GetList(string queryJson, Pagination pagination = null);
        /// <summary>
        /// 获取实体数据
        /// <param name="PanelId">主键</param>
        /// <summary>
        /// <returns></returns>
        ec_PanelEntity GetEntity(string PanelId, string ProjectId);
        #endregion

        #region 提交数据
        /// <summary>
        /// 删除实体数据
        /// <param name="PanelId">主键</param>
        /// <summary>
        /// <returns></returns>
        void DeleteEntity(string PanelId, string ProjectId);
        /// <summary>
        /// 保存实体数据（新增、修改）
        /// <param name="PanelId">主键</param>
        /// <summary>
        /// <returns></returns>
        void SaveEntity(string ProjectId, string PanelId, ec_PanelEntity entity);
        #endregion

    }
}
